<?php

namespace app\modules\lenders\models;

use Yii;

/**
 * This is the model class for table "rah_lenderaudit".
 *
 * @property integer $lenderID
 * @property integer $ldAuditID
 * @property string $auditResult
 * @property string $auditComments
 * @property string $auditUser
 * @property string $auditDate
 */
class Lenderaudit extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rah_lenderaudit';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['lenderID'], 'integer'],
            [['auditDate'], 'safe'],
            [['auditResult', 'auditUser'], 'string', 'max' => 50],
            [['auditComments'], 'string', 'max' => 200],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'lenderID' => 'Lender ID',
            'ldAuditID' => 'Ld Audit ID',
            'auditResult' => 'Audit Result',
            'auditComments' => 'Audit Comments',
            'auditUser' => 'Audit User',
            'auditDate' => 'Audit Date',
        ];
    }
}
